package com.daxue.configtest.others;

/**
 * @author daxue0929
 * @date 2023/3/14
 */

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Created by JackieGao on 2018-12-24.
 * <p>用于Entity类中，标记一个Field可以被更新为Null</p>
 */
@Retention(RUNTIME)
@Target({FIELD,METHOD,PARAMETER})
public @interface Nullable {
}
